package com.ruoyi.project.kbjz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 his_patient
 * 
 * @author ruoyi
 * @date 2021-12-20
 */
public class HisPatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long patientId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String patientName;

    /** 身份证 */
    @Excel(name = "身份证")
    private String patientPersonId;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patientBirthday;

    /** 电话 */
    @Excel(name = "电话")
        private String patientMobile;

    /** 性别 0:男 1:女 */
    @Excel(name = "性别 0:男 1:女")
    private String patientSex;

    /** 年龄 */
    @Excel(name = "年龄")
    private String patientAge;

    /** 地址 */
    @Excel(name = "地址")
    private String patientAddress;

    /** $column.columnComment */
    @Excel(name = "状态")
    private Long status;

    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientPersonId(String patientPersonId) 
    {
        this.patientPersonId = patientPersonId;
    }

    public String getPatientPersonId() 
    {
        return patientPersonId;
    }
    public void setPatientBirthday(Date patientBirthday) 
    {
        this.patientBirthday = patientBirthday;
    }

    public Date getPatientBirthday() 
    {
        return patientBirthday;
    }
    public void setPatientMobile(String patientMobile) 
    {
        this.patientMobile = patientMobile;
    }

    public String getPatientMobile() 
    {
        return patientMobile;
    }
    public void setPatientSex(String patientSex) 
    {
        this.patientSex = patientSex;
    }

    public String getPatientSex() 
    {
        return patientSex;
    }
    public void setPatientAge(String patientAge) 
    {
        this.patientAge = patientAge;
    }

    public String getPatientAge() 
    {
        return patientAge;
    }
    public void setPatientAddress(String patientAddress) 
    {
        this.patientAddress = patientAddress;
    }

    public String getPatientAddress() 
    {
        return patientAddress;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("patientName", getPatientName())
            .append("patientPersonId", getPatientPersonId())
            .append("patientBirthday", getPatientBirthday())
            .append("patientMobile", getPatientMobile())
            .append("patientSex", getPatientSex())
            .append("patientAge", getPatientAge())
            .append("patientAddress", getPatientAddress())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
